package com.bw.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 购买订单表
 * 
 * @author Hao_YunKai
 * @email 2745578447@qq.com
 * @date 2022-03-23 16:04:29
 */
@Data
@TableName("house_purchase_order")
public class HousePurchaseOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 购买订单id
	 */
	@TableId
	private Long purchaseOid;
	/**
	 * 用户手机号
	 */
	private Long userPhone;
	/**
	 * 购买价格
	 */
	private BigDecimal purchasePrice;
	/**
	 * 新房价格/平
	 */
	private BigDecimal housePrice;
	/**
	 * 创建订单时间
	 */
	private Date createTime;
	/**
	 * 订单状态
	 */
	private Integer purchaseStatus;
	/**
	 * 新房id
	 */
	private Long roomId;
	/**
	 * 用户id
	 */
	private Long userId;

}
